package com.stone.business.jc.pojo;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 变电运行工区周工作计划
 */
@Entity
@Table(name = "TAB_PLAN_WEEK_DETAIL")
public class TPlanWeekDetail implements java.io.Serializable {

	private Long id;
	
	/**
	 * 周计划ID
	 */
	private Long planweekid;
	
	/**
	 * 班组
	 */
	private String bz;
	
	/**
	 * 下周计划工作
	 */
	private String xzgzjh;
	
	/**
	 * 责任人
	 */
	private String fzr;
	private String  bzname;	
	private String  fzrname;
	private Date  startdate;      //开始日期
	private Date  enddate;   
	private Date  sjwcdate;   
	private String  plantype;    
	private String  wcqk;  
	private String  ylwt;  
	private String gzlb;
	/**
	 * 工时
	 */
	private Integer gs = 0;
	/**
	 *  工作内容
	 */
	private String bzwwcxjyy;
	
	/**
	 * 备用状态
	 */
	private String state;
	
	/**
	 * 备注
	 */
	private String remark;
	
	/**
	 * 计划类型
	 */
	private String jhflag;

	/**
	 * 计划日期周1
	 */
	private String jhrq;

	/**
	 * 计划日期周1
	 */
	private String jhrqflag0;
	
	/**
	 * 计划日期周2
	 */
	private String jhrqflag1;
	
	/**
	 * 计划日期周3
	 */
	private String jhrqflag2;
	
	/**
	 * 计划日期周4
	 */
	private String jhrqflag3;
	
	/**
	 * 计划日期周5
	 */
	private String jhrqflag4;
	
	/**
	 * 计划日期周6
	 */
	private String jhrqflag5;
	
	/**
	 * 计划日期周7
	 */
	private String jhrqflag6;

	
    @Id
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_PLAN_WEEK_DETIAL")
    @SequenceGenerator(name="SEQ_PLAN_WEEK_DETIAL",allocationSize=1, sequenceName="SEQ_PLAN_WEEK")
    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

	public Long getPlanweekid() {
		return planweekid;
	}

	public void setPlanweekid(Long planweekid) {
		this.planweekid = planweekid;
	}

	public String getBz() {
		return bz;
	}

	public void setBz(String bz) {
		this.bz = bz;
	}

	public String getXzgzjh() {
		return xzgzjh;
	}

	public void setXzgzjh(String xzgzjh) {
		this.xzgzjh = xzgzjh;
	}

	public String getFzr() {
		return fzr;
	}

	public void setFzr(String fzr) {
		this.fzr = fzr;
	}

	public String getBzwwcxjyy() {
		return bzwwcxjyy;
	}

	public void setBzwwcxjyy(String bzwwcxjyy) {
		this.bzwwcxjyy = bzwwcxjyy;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getJhrq() {
		return jhrq;
	}

	public void setJhrq(String jhrq) {
		this.jhrq = jhrq;
	}

	@Transient
	public String getJhrqflag0() {
		return "0".equals(this.jhrq) ? "checked" :"";
	}

	public void setJhrqflag0(String jhrqflag0) {
		this.jhrqflag0 = jhrqflag0;
	}

	@Transient
	public String getJhrqflag1() {
		return "1".equals(this.jhrq) ? "checked" :"";
	}

	public void setJhrqflag1(String jhrqflag1) {
		this.jhrqflag1 = jhrqflag1;
	}

	@Transient
	public String getJhrqflag2() {
		return "2".equals(this.jhrq) ? "checked" :"";
	}

	public void setJhrqflag2(String jhrqflag2) {
		this.jhrqflag2 = jhrqflag2;
	}

	@Transient
	public String getJhrqflag3() {
		return "3".equals(this.jhrq) ? "checked" :"";
	}

	public void setJhrqflag3(String jhrqflag3) {
		this.jhrqflag3 = jhrqflag3;
	}

	@Transient
	public String getJhrqflag4() {
		return "4".equals(this.jhrq) ? "checked" :"";
	}

	public void setJhrqflag4(String jhrqflag4) {
		this.jhrqflag4 = jhrqflag4;
	}

	@Transient
	public String getJhrqflag5() {
		return "5".equals(this.jhrq) ? "checked" :"";
	}

	public void setJhrqflag5(String jhrqflag5) {
		this.jhrqflag5 = jhrqflag5;
	}

	@Transient
	public String getJhrqflag6() {
		return "6".equals(this.jhrq) ? "checked" :"";
	}

	public void setJhrqflag6(String jhrqflag6) {
		this.jhrqflag6 = jhrqflag6;
	}

	public String getJhflag() {
		return jhflag;
	}

	public void setJhflag(String jhflag) {
		this.jhflag = jhflag;
	}

	public String getBzname() {
		return bzname;
	}

	public void setBzname(String bzname) {
		this.bzname = bzname;
	}

	public String getFzrname() {
		return fzrname;
	}

	public void setFzrname(String fzrname) {
		this.fzrname = fzrname;
	}

	public Date getStartdate() {
		return startdate;
	}

	public void setStartdate(Date startdate) {
		this.startdate = startdate;
	}

	public Date getEnddate() {
		return enddate;
	}

	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}

	public Date getSjwcdate() {
		return sjwcdate;
	}

	public void setSjwcdate(Date sjwcdate) {
		this.sjwcdate = sjwcdate;
	}

	public String getPlantype() {
		return plantype;
	}

	public void setPlantype(String plantype) {
		this.plantype = plantype;
	}

	public String getWcqk() {
		return wcqk;
	}

	public void setWcqk(String wcqk) {
		this.wcqk = wcqk;
	}

	public String getYlwt() {
		return ylwt;
	}

	public void setYlwt(String ylwt) {
		this.ylwt = ylwt;
	}

	public String getGzlb() {
		return gzlb;
	}

	public void setGzlb(String gzlb) {
		this.gzlb = gzlb;
	}

	public Integer getGs() {
		return gs;
	}

	public void setGs(Integer gs) {
		this.gs = gs;
	}

    

}